﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
</head>
<body>
    <script>
        function ff() {
            var ss=document.getElementById("form").src;
            var str= String(ss);
            var str1= str.split("4%AB");
            var str2= str1[2].split("%2E");
            var idnum=document.getElementById("idnum").value;
           
            if(idnum!="")
            {
                var num=idnum;
            
            }
            else
            {
                var num=parseInt( str2[0])+1;
            }
            document.getElementById("idnum").value="";
            document.title= parseInt( str2[0])+1;
            var url_to ="https://www.ysts8.com/play/flw.asp?url=%D0%FE%BB%C3%D0%A1%CB%B5%2F2009%2F%B7%B2%C8%CB%D0%DE%CF%C9%B4%AB%2F%B7%B2%C8%CB%D0%DE%CF%C9%B4%AB" +num+"%2Emp3&said=49";
           document.getElementById("form").src=  url_to  ;
           
        }

        function  vv()
        {
            var parentWin = parent.document.getElementById("form");
            var sub = parentWin.contentWindow.document;
            //var iframe = document.getElementById("form");
           // var iwindow = iframe.contentWindow;
           console.log(parentWin);
            console.log(sub);

        }
    </script>
<title></title>
</head>
<body>
<iframe  id="form" src="https://www.ysts8.com/play/flw.asp?url=%D0%FE%BB%C3%D0%A1%CB%B5%2F2009%2F%B7%B2%C8%CB%D0%DE%CF%C9%B4%AB%2F%B7%B2%C8%CB%D0%DE%CF%C9%B4%AB129%2Emp3&said=49" width="645px" height="59px" scrolling="no" frameborder="0"></iframe>
<input type="text" id="idnum">

<button onclick="vv()">下一</button>
</body>
</html>








